package com.example.framework509.common.entities.utils;

import java.util.HashMap;
import java.util.Map;

public class ParameterInfo {

    private Object id = null;
    private final Map<String, Object> verifyRepetitionFields = new HashMap<>();
    private final Map<String, Object> verifyMultiRepetitionFields = new HashMap<>();
    private final Map<String, Object> requiredFields = new HashMap<>();
    private final Map<String, Object> allowNullFields = new HashMap<>();
    private final Map<String, Object> editKeys = new HashMap<>();
    private final Map<String, Object> patternKeys = new HashMap<>();
    private Map<String, Object> searchMap;
    private Object businessEntity;

    public Object getId() {
        return id;
    }

    public void setId(Object value) {
        this.id = value;
    }

    public Map<String, Object> getVerifyRepetitionFields() {
        return verifyRepetitionFields;
    }

    public void addVerifyRepetitionFields(String key, Object value) {
        this.verifyRepetitionFields.put(key, value);
    }

    public Map<String, Object> getVerifyMultiRepetitionFields() {
        return verifyMultiRepetitionFields;
    }

    public void addVerifyMultiRepetitionFields(String key, Object value) {
        this.verifyMultiRepetitionFields.put(key, value);
    }

    public Map<String, Object> getRequiredFields() {
        return requiredFields;
    }

    public void addRequiredFields(String key, Object value) {
        this.requiredFields.put(key, value);
    }

    public Map<String, Object> getAllowNullFields() {
        return allowNullFields;
    }

    public void addAllowNullFields(String key, Object value) {
        this.allowNullFields.put(key, value);
    }

    public Map<String, Object> getEditKeys() {
        return editKeys;
    }

    public void addEditKeys(String key, Object value) {
        this.editKeys.put(key, value);
    }

    public Map<String, Object> getPatternKeys() {
        return patternKeys;
    }

    public void addPatternKeys(String key, Object value) {
        this.patternKeys.put(key, value);
    }

    public Map<String, Object> getSearchMap() {
        return searchMap;
    }

    public void setSearchMap(Map<String, Object> searchMap) {
        this.searchMap = searchMap;
    }

    public Object getBusinessEntity() {
        return businessEntity;
    }

    public void setBusinessEntity(Object businessEntity) {
        this.businessEntity = businessEntity;
    }
}
